package com.vcc.data.entity;


import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@Setter
@Getter
@Table(value = "vcc_client_permission")
public class ClientPermission extends BaseEntity implements Serializable {

    @Column(comment = "父级账号", value = "parent_id")
    private Long parentId;

    @Column(comment = "是否是父级权限", value = "has_parent")
    private Boolean hasParent;

    @Column(comment = "权限编码", value = "code")
    private String code;

    @Column(comment = "权限名称", value = "name")
    private String name;

    @Column(comment = "客户端是否可以选择", value = "has_client_checked")
    private Boolean hasClientChecked;


}
